package com.shaozj.app.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.shaozj.core.base.BaseEntity;
import lombok.Data;

@Data
public class AppResource extends BaseEntity {

    private Long id;

    private Long appId;
    /**
     * 资源类型
     */
    private Integer type;

    /**
     * 目标资源ID
     */
    private Long targetId;

    @TableField(fill = FieldFill.INSERT)
    private Long createBy;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateBy;
}
